package tt.dz.biz.service.rpc;

import org.apache.avro.Protocol;
import org.apache.avro.Protocol.Message;
import org.springframework.stereotype.Service;
import tt.dz.common.DateUtil;
import tt.dz.common.LogUtil;

@Service("rpcHeartBeatService")
public class RPCHeartBeatService
  implements RPCBaseService
{
  public Object execute(Protocol.Message message, Object request, Protocol protocol)
    throws Exception
  {
    LogUtil.info("   RPC 心跳完成时间：" + DateUtil.getDateTimeFormatter());
    return "successful";
  }
}
